{include file="header.tpl" title="Bao tri nhom san pham"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="117%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  
<tr >
	<td width="21%" >{$lbl_CHGCODE}</td>
	<td width="36%" style="color:#FF0000;"><input name="CHGCODE" id="CHGCODE" type="text" style="background:{$colorCHGCODE}; text-align:left" value="{$CHGCODE}" size="25" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','').replace('!','').replace('@','').replace('#','').replace('$','').replace('&','').replace('*','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/>
      <span style="color:#FF0000">
	  *	</span>	</td>
	<td width="14%">{$lbl_CHGACT}      </td>
	<td><input name="CHGACT" id="CHGACT" type="text" style="background:{$colorCHGACT}; text-align:right" value="{$CHGACT}" size="25" maxlength="10"  onkeypress="return numberOnly(event);" />     
		
		<span style="color:#FF0000">
	  *	</span>	
		
	  <input type="button" onclick="mywindow = window.open('microbank_id.php?name=CHGACT-CURCODEtmp', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findmicro" id="replacement_binoculars" value="     " />    </td>
</tr> 


<tr >
	 <td>{$lbl_CHGNAME}</td>
	 <td><span style="color:#FF0000;">
      <input name="CHGNAME" id="CHGNAME" type="text" value="{$CHGNAME}" size="25" maxlength="50" style="background:{$colorCHGNAME};text-align:left"/>
	  *
    </span></td>
</tr>  

<tr >
	 <td height="23">{$lbl_CHGNAMEEN}</td>
	<td><input name="CHGNAMEEN" id="CHGNAMEEN" type="text"  value="{$CHGNAMEEN}" size="25" maxlength="50" style="text-align:left"/>	</td>
</tr>  

<tr >
	 <td>{$lbl_EFFDATE}</td>
	 <td><input name="EFFDATE" id="EFFDATE" type="text" style="background:{$colorEFFDATE}; text-align:left" value="{$EFFDATE}" size="25" maxlength="50" onclick="event.cancelBubble=true;this.select();lcs(this)"/>	</td>
	 <td ></td>
	 <td >{$showIVAT}</td>
</tr>  

<tr >
	<td>{$lbl_CHGTYPE}</td>
	<td><select name="CHGTYPE" size="1" id="CHGTYPE">
			{foreach from=$cboCHGTYPE key=k item=v}
				<option value="{$k}" {if $k eq $CHGTYPE} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach}
		</select>	
		
		{$lbl_VATTYPE}
	  </td>
	<td><select name="VATTYPE" size="1" id="VATTYPE">
			{foreach from=$cboVATTYPE key=k item=v}
			<option value="{$k}" {if $VATTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach}
		</select>    </td>
	 <td >{$showOVAT}</td>
</tr>  

<tr >
	<td>{$lbl_CHGAMT}</td>
	<td><input name="CHGAMT" id="CHGAMT" type="text" style="background:{$colorCHGAMT}; text-align:right" value="{$CHGAMT}" size="25" maxlength="50"  onkeypress="return numberOnly(event);" />	</td>
</tr>  

<tr >
	 <td>{$lbl_RATE}</td>
	 <td ><input name="RATE" id="RATE" type="text" style="background:{$colorRATE}; text-align:right" value="{$RATE}" size="20" maxlength="50" onkeypress="return numberOnly(event);"/>
	   <span style=" font-size:12px;">
	%</span>{$lbl_CHGMAX}
	</td>
	<td><input name="CHGMAX" id="CHGMAX" type="text" style="background:{$colorCHGMAX}; text-align:right " value="{$CHGMAX}" size="17" maxlength="20" onkeypress="return numberOnly(event);" /> </td>
	<td >{$lbl_CHGMIN}  
		<input name="CHGMIN" id="CHGMIN" type="text" style="background:{$colorCHGMIN}; text-align:right" value="{$CHGMIN}" size="17" maxlength="20" onkeypress="return numberOnly(event);" />
	</td>
</tr>  

<tr>
	<td></td>
</tr>

<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'RTYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
 </tr>
<tr>
<td align="left" nowrap="nowrap" colspan="4">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="29%" align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
